package com.youmeek.ssm.module.user.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * 作者：13687
 * 日期：2017/7/9
 * 项目：ssm
 * 描述：传入 关键字 索引 每页数量
 * 返回 列表
 */
public class Page<T> implements Serializable {


	private static final long serialVersionUID = 6621708557409749822L;
/*	public Integer pageSize = 10;// 每页数量
	public Integer index = 1;//当前页索引
	public String keyWord;//搜索关键字*/

//  改成和gird提交的参数一样
	public Integer page;

	public Integer getPage() {
		return page;
	}

	public T getParamsEntity() {
		return paramsEntity;
	}

	public void setParamsEntity(T paramsEntity) {
		this.paramsEntity = paramsEntity;
	}

	private T paramsEntity;

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	private Integer rows;

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

	private  List<T> list;
	private Integer total;//返回总数

	public Integer getStart() {
		return (page-1)*rows;
	}

	private int start;



}
